package com.ctgu.fastleader.service.serviceImpl;

import com.ctgu.fastleader.dao.DeliveryMapper;
import com.ctgu.fastleader.service.DeliveryService;
import com.ctgu.fastleader.vo.Delivery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeliveryServiceImpl implements DeliveryService {

    @Autowired
    DeliveryMapper deliveryMapper;


    @Override
    public int insertSelective(Delivery delivery) {
        return deliveryMapper.insertSelective(delivery);
    }

    @Override
    public List<Delivery> selectSendGoodsRecord() {
        return deliveryMapper.selectSendGoodsRecord();
    }
}
